package top.as.sean.dao.vo.system;

import lombok.Data;
import lombok.EqualsAndHashCode;
import annotation.DictField;
import top.as.sean.dao.entity.base.BasePojo;
import top.as.sean.dao.plugin.DictPlugin;

/**
 * 分配用户响应数据
 *
 * @author: ArchieSean
 * @create: 2023/2/3
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AuthUserVo extends BasePojo {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 账号
     */
    private String username;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 状态，0：正常，1：停用
     */
    private String status;
    /**
     * 状态
     */
    @DictField(key = "user_status", clazz = DictPlugin.class, method = "getDataDict")
    private String statusDict;
}
